package com.mianyang.zhangsan.plugin.quartz.contant;

/**
 * @author jiangjr
 * @date 2022-11-23
 */
public class QuartzConstant {

    private static final String APPROVAL_CLASS = "com.mianyang.zhangsan.plugin.approval.xxx";

    private static final String PLAN_EXE_CLASS = "com.mianyang.zhangsan.service.PlanService";

    private static final String PLAN_EXE_METHOD = "orderExecute";

    /**
     * 任务类型
      */
    public static final String TASK_TYPE_PLAN = "TASK_TYPE_PLAN";

    public static final String TASK_TYPE_DRILL = "TASK_TYPE_DRILL";

    /**
     * 任务分组
     */
    public static final String TASK_GROUP_PLAN = "TASK_GROUP_PLAN";

    public static final String TASK_GROUP_DRILL = "TASK_GROUP_DRILL";

    public static final int JOB_TYPE_ONCE = 1;

    public static final int JOB_TYPE_MANY = 2;

    public static final String QUARTZ_NAME_PREFIX = "sec_quartz";

    public static final String QUARTZ_TASK_KEY = "sec_task";
}
